# -*- coding:utf-8 -*-

import os

CASE_NOT_EXSIT = 10001
COMPANY_NOT_EXSIT = 10002
COMPANY_ID_NULL = 10003
UNAUTHORIZED = 10004
NOT_NEED_MODIFY = 10005
NOT_BRANCH_COMPANY = 10006
CASE_BRANCH_COMPANY_NOT_MATCH = 10007

def formatMoney(value):
    return '%.2f' % (value / 100.0)

for modulefile in os.listdir(os.path.dirname(__file__)):
    if modulefile.endswith('.py') and not modulefile.startswith('__'):
        moduleName = os.path.splitext(modulefile)[0]
        importstring = 'import ' + moduleName
        exec importstring
